﻿using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

namespace CloudShot.Core.Types
{
  /// <summary>
  /// Specifies image save format.
  /// </summary>
  [JsonConverter(typeof(StringEnumConverter))]
  public enum ImageSaveFormat
  {
    /// <summary>
    /// Png image format.
    /// </summary>
    Png,

    /// <summary>
    /// Jpg image format.
    /// </summary>
    Jpg,

    /// <summary>
    /// Jpeg image format.
    /// </summary>
    Jpeg,

    /// <summary>
    /// Gif image format.
    /// </summary>
    Gif
  }
}